package com.cg.springSecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cg.springSecurity.pojo.Menu;
import com.cg.springSecurity.pojo.User;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cg
 * @since 2022-05-13
 */
public interface MenuMapper extends BaseMapper<User> {

    /**
     * @return 每一条路径中能访问该路径的所有角色
     */
    List<Menu> getAllMenu();
}
